# Author    : CoffeeChicken
# Date      : 2020-11-21 21:20
# Function  : 演示 爬取链接

import requests

url = "https://www.iesdouyin.com/web/api/v2/aweme/post/?sec_uid=MS4wLjABAAAAzMoWI7K1y__uo8j2XoEWfkBhrmh16_Rg0sllivmxJLg"\
      "&count=30&max_cursor=10&aid=1128&_signature=77VH-AAAsBacQ02XCu-Ynu-1R-&dytk="


headers = {
    'User-Agent': 'Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3_3 like Mac OS X; en-us) AppleWebKit/533.17.9 '
                  '(KHTML, like Gecko) Version/5.0.2 Mobile/8J2 Safari/6533.18.5'
}

for i in range(10):

    test = requests.get(url, headers)

    print(test.text)

